package edu.fpa.day0805;

public class TestEnum {
    public static void main(String []args){
        //枚举
        Season a=Season.AUTUMN;
        switch (a){
            case SPRING:
                System.out.println("wrong");
                break;
            case AUTUMN:
                System.out.println("right");
                break;
        }

    }
}
enum Season{
    SPRING,SUMMER,AUTUMN,WINTER
}
enum Week{
    SUNDAY,MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY
}

